package cn.edu.dgut.Javabean_object;


import javax.json.bind.Jsonb;
import javax.json.bind.JsonbBuilder;
import javax.json.bind.annotation.JsonbProperty;
import java.io.*;

@SuppressWarnings("unused")
public class userinfo {
    // 工号
    @JsonbProperty("user_number")
    private String user_number;

    // 姓名
    @JsonbProperty("name")
    private String name;

    // 电话
    @JsonbProperty("phone_number")
    private String phone_number;

    // 邮箱
    @JsonbProperty("email")
    private String email;

    // 密码
    @JsonbProperty("password")
    private String password;

    // 头像
    @JsonbProperty("head_img")
    private String head_img;

    // 学院
    @JsonbProperty("faculty_title")
    private String faculty_title;

    // 类型
    @JsonbProperty("group")
    private String group;

    // qq
    @JsonbProperty("qq")
    private String qq;

    // weixi
    @JsonbProperty("weixin")
    private String weixin;

    private String fileName = "userinfo.txt";

    public userinfo() {

    }


    public userinfo(String user_number, String name, String phone_number, String email, String password, String head_img, String faculty_title, String group, String qq, String weixin) {
        this.user_number = user_number;
        this.name = name;
        this.phone_number = phone_number;
        this.email = email;
        this.password = password;
        this.head_img = head_img;
        this.faculty_title = faculty_title;
        this.group = group;
        this.qq = qq;
        this.weixin = weixin;
    }

    public String getUser_number() {
        return user_number;
    }

    public void setUser_number(String user_number) {
        this.user_number = user_number;
    }

    public String getFaculty_title() {
        return faculty_title;
    }

    public void setFaculty_title(String faculty_title) {
        this.faculty_title = faculty_title;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String head_img) {
        this.head_img = head_img;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }


}
